go/printer.printer.lastTok (field)
11 uses
go/printer (current package)
printer.go#L66: lastTok token.Token // last token printed (token.ILLEGAL if it's whitespace)
printer.go#L744: p.lastTok != token.IMPORT && // do not rewrite cgo's import "C" comments
printer.go#L911: switch p.lastTok {
printer.go#L915: p.prevOpen = p.lastTok
printer.go#L951: p.lastTok = token.ILLEGAL
printer.go#L957: p.lastTok = token.IDENT
printer.go#L963: p.lastTok = x.Kind
printer.go#L967: if mayCombine(p.lastTok, s[0]) {
printer.go#L987: p.lastTok = x
printer.go#L994: p.lastTok = token.STRING
printer.go#L1003: wroteNewline, droppedFF := p.flush(next, p.lastTok)
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64)